par
{graphics}
Set parameters of the plotting device
sample
{base}
Takes a sample of the specified size
as.data.frame
{base}
Functions to check if an object is a data frame, or coerce it if possible.
mean
{base}
Get mean of a vector
lm
{stats}
Fit linear models using least squares
subset
{base}
Return subsets of vectors, matrices or data frames which meet conditions.
c
{base}
Combine values/vectors into a vector
library
{base}
Load an R package
which
{base}
return indexes of TRUE entries of a logical vector
seq
{base}
Create a sequence
rnorm
{base}
Generate random numbers from a normal distribution
summary
{base}
Obtain summary statistics or detailed regression output
plot
{graphics}
Generic function from base R to produce a plot
ifelse
{base}
Return a or b depending on the value of test
log
{base}
log (default base = e)
as.character
{base}
Coerce a vector to character
expression
{base}
Used in plots to add symbols to axes
bar
{base}
Used for annotations, such as “expression(paste(”-“,bar(y)))”
read.csv
{utils}
Read a csv file to data frame. Specify stringsAsFactors = FALSE to keep all string columns as characters
nobs
{stats}
Return the number of observations in a model object
data.frame
{base}
Create a data.frame from vectors
filter
{dplyr}
Filter out rows of a data frame according to logical vector
dnorm
{stats}
Density distribution for the normal distribution
The end!